PublicStreamingVideoConfig class Null safety

公共流的视频编码参数

Constructors

PublicStreamingVideoConfig({int fps = 30, int kBitrate = 500, int width = 360, int height = 640})

Properties

fps ↔ int
公共流视频帧率。必填。范围:1, 60
read / write
hashCode → int
The hash code for this object. [...]
read-only, inherited
height ↔ int
公共流视频高度,必填。单位为 px,范围为 16, 1280,必须是偶数。
read / write
kBitrate ↔ int
视频码率,必填。范围:1,10000000。单位为 bps
read / write
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited
width ↔ int
公共流视频宽度,必填。单位为 px,范围为 16, 1920,必须是偶数。
read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() → String
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) → bool
The equality operator. [...]
inherited